// 
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2014 Media Design School
//
// File Name	: GameApp.h
// Desrciption	: CGameApp declaration file.
// Author(s)	: Hayden Asplet.
// Mail			: hayden.asplet@mediadesignschool.com
//

// PCH
#include "GameStd.h"

// Library Includes

// This Include
#include "GameLogic.h"

// Local Includes
#include "GameApp.h"

CGameLogic::CGameLogic()
{
	m_fElapsedTime = 0;
	m_eState = GS_TitleScreen;
}

CGameLogic::~CGameLogic()
{
}

bool CGameLogic::VInit()
{
	return true;
}

void CGameLogic::VUpdate(float _fDeltaTime)
{
	m_fElapsedTime += _fDeltaTime;
}

void CGameLogic::VChangeState(EGameState _eState)
{
	switch(_eState) {
		case GS_TitleScreen: {
			break;
		}
		case GS_MainMenu: {
			break;
		}
		case GS_HighScore: {
			break;
		}
		case GS_Options: {
			break;
		}
		case GS_Running: {
			break;
		}
		default: {
			break;
		}
	}

	m_eState = _eState;
}